package com.shinewind.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminModelDto implements Serializable {
    @ApiModelProperty(value = "模型标题")
    private String title;
    @ApiModelProperty(value = "模型图片地址")
    private String src;
    @ApiModelProperty(value = "模型跳转链接")
    private String href;
    @ApiModelProperty(value = "模型价格")
    private Double price;
    @ApiModelProperty(value = "模型品牌id",example = "和cp_brand表相关联")
    @JsonProperty(value = "bId")
    private Integer bId;
    @ApiModelProperty(value = "模型类型")
    private String type;
    @ApiModelProperty(value = "模型信息")
    private String info;
    @ApiModelProperty(value = "模型商品标题")
    private String goodsName;
    @ApiModelProperty(value = "模型类别id")
    private Long typeId;
    private String description;
    private Integer buy = 0;
    private String name;
    private String nickName;
    private String version;
    @JsonProperty(value = "mType")
    private String mType;
    @JsonProperty(value = "tType")
    private String tType;
    private String manual;
    private String pictures;
    private String series;
    private String sort;
    private String videoHref;
    private String videoCover;
    private List<Map<String,Object>> saleTime;
}
